module halfadder #(
  parameter WIDTH = 0
)(
  input  [WIDTH-1:0] a,
  input  [WIDTH-1:0] b,
  output [WIDTH-1:0] s,
  output             cout
);
assign {cout, s} = a+b;
endmodule
